package com.chuantou.yuba.api.to;

import java.util.List;

import com.google.gson.annotations.SerializedName;

import android.os.Parcel;
import android.os.Parcelable;

public class FishingShopListTO implements Parcelable {
	// 渔具店列表
	@SerializedName("list")
	private List<FishingShopTO> shops;
	// 当前页码
	@SerializedName("p")
	private int currentPage;

	public FishingShopListTO() {
	}

	public FishingShopListTO(Parcel source) {
		// TODO 需要序列化时再做
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO 需要序列化时再做
	}

	public static final Creator<FishingShopListTO> CREATOR = new Creator<FishingShopListTO>() {

		@Override
		public FishingShopListTO[] newArray(int size) {
			return new FishingShopListTO[size];
		}

		@Override
		public FishingShopListTO createFromParcel(Parcel source) {
			return new FishingShopListTO(source);
		}
	};

	public List<FishingShopTO> getShops() {
		return shops;
	}

	public void setShops(List<FishingShopTO> shops) {
		this.shops = shops;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

}
